package com.lx.bilibili.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2025-03-26
 */
@Getter
@Setter
@TableName("video")
public class Video implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 视频标题
     */
    @TableField("vname")
    private String vname;

    /**
     * 作者
     */
    @TableField("uid")
    private Integer uid;

    /**
     * 视频简介
     */
    @TableField("intro")
    private String intro;

    /**
     * 发布时间
     */
    @TableField("time")
    private Timestamp time;

    /**
     * 视频网络路径
     */
    @TableField("path")
    private String path;

    /**
     * 封面图
     */
    @TableField("image")
    private String image;

    /**
     * 类型
     */
    @TableField("type")
    private String type;

    /**
     * 标签
     */
    @TableField("tag")
    private String tag;

    /**
     * 状态
     */
    @TableField("state")
    private Integer state;

    /**
     * 视频分区
     */
    @TableField("categ")
    private Integer categ;

    /**
     * 投币
     */
    @TableField("coin")
    private Integer coin;

    /**
     * 点赞
     */
    @TableField("likes")
    private Integer likes;

    /**
     * 收藏
     */
    @TableField("collect")
    private Integer collect;


    @TableField("vcount")
    private Integer vcount;
}
